import ExIcon from './icon/index.js'
import ExDialog from './dialog/index.js'
import Notification from './notification/index.js'


const components = [
  ExIcon,
  ExDialog
]

const install = function(Vue){
  components.forEach(component=>{
    Vue.component(component.name, component)
  })
  Vue.prototype.$notify = Notification;
}
export {
  ExIcon,
  ExDialog,
  Notification
}

export default {
  install,
  Notification
}